package com.codingman.springbootdemo8;

import java.util.Optional;

import org.springframework.stereotype.Repository;
import org.springframework.data.repository.PagingAndSortingRepository;

@Repository
public interface EmployeeRepository extends PagingAndSortingRepository<Employee, Integer> {
	
	Optional<Employee> findByName(String name);
}
